#ifndef POOLTIMER_H
#define POOLTIMER_H

#include <map>
#include <iostream>
#include "./time.h"

class poolTime
{
 public :

  poolTime();
  ~poolTime();
  void	addToMap(void *, unsigned long long timeout);
  void	autoCall();

 private :

  std::map<unsigned long long, void *>	mapPool;
  PortableTime				*timer;
};

#endif
